
/**********
   Categories select
**********/

.item-category {
  border: 1px solid #ddd !important;
}

.item-category .h2 {
  overflow: inherit ;
  text-overflow: inherit ;
  white-space: normal !important;
}

.item-category.item-divider,
.item-category .item-divider{
  background-color: #f5f5f5 !important;
}

/**********
   Record list
**********/

.item-record {
  height: 80px !important;
  padding-top: 5px !important;
}

.row-record {
  border-bottom: solid 1px #ccc !important;
  padding: 0 !important;
  height: 75px !important;
  overflow: hidden;
}

.row-record .col {
  padding-top: 5px;
  padding-bottom: 0px;
}

.row-record .item-avatar i.item-image {
  font-size: 34px !important;
}

.card-record .badge-picture-count,
.row-record .badge-picture-count {
  position: absolute !important;
  left: 67px !important;
  bottom: 15px !important;
  right: inherit !important;
  top: inherit !important;
}

.card-record .badge-picture-count {
  left: 67px !important;
  bottom: 15px !important;
}
.row-record .badge-picture-count {
  left: 54px !important;
  bottom: 13px !important;
}

.card-record .item-thumbnail-left {
  padding-left: 150px;
}

.card-record .item-thumbnail-left .item-image {
  border-radius: 0;
  box-shadow: none;
  max-width: 130px;
  max-height: 130px;
  top: inherit;
  background-repeat: no-repeat;
}

.card-record .card-footer .badge {
  top:inherit;
  bottom: 10px;
  right: 10px;
}

.row-record .col-text-wrap {
    padding: 0;
    margin: 0;
}
.row-record .col .text-wrap {
    height: 70px;
    white-space: normal;
    position: relative;
    word-wrap: break-word !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

/* Source: See doc: http://stackoverflow.com/questions/15814346 */
.row-record .col .text-wrap:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 30%;
  background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);   /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(0255,255,255,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.item.gallery {
  display: inline-block;
}

.item-more-comments {
  padding-top: 0;
  padding-bottom: 0;
  min-height: inherit !important;
}

/**********
   Record view
**********/

.hero .content .button.button-camera {
  display: block;
  position: absolute;
  bottom: 0px;
  right: 0px;
}

.hero .content i.avatar .button {
  display: none;
  position: absolute;
  bottom: -25px;
  left: -3px;
}

.hero .content i.avatar:hover .button {
  display: block;
}

.hero .content i.avatar {
  font-size: 55px !important;
  line-height: 88px;
}

/**********
   Message screen
**********/

#composeMessage .list .item {
  border-bottom: solid 1px #ccc;
}

.view-message h1.title {
  font-size: 22px;
  margin-top: 5px;
}

.view-messages .list .item h2.unread {
  font-weight: bold !important;
}
.view-messages .list .item h2.read {
  color: #444 !important;
}
.view-messages .list .item {
  height: 80px;
}
.view-messages .list .item-content {
  padding-top: 8px;
  padding-bottom: 8px;
}

/**********
   Page view
**********/


/* set 'ion-refresher' background color */
.view-page ion-content.refresher-top-bg:before {
  background-color: #f8f8f8 !important;
  height: 200px;
}

.view-page .hero {
  background-color: #f8f8f8 !important;
}

.view-page .hero .content i.avatar {
  border: 1px solid grey;
  color: grey !important;
}

/**********
   Location search modal
**********/

.modal-search-location .bar-footer {
  height: 30px;
}
.modal-search-location .bar-footer .copyright {
  font-size: 12px;
  line-height: 30px;
}

/**********
   Dropdown list (for autocompletion, need by issue #601)
**********/

.list.dropdown-list {
  z-index: 1010;
  opacity: 1;
  display: block;
  list-style: none;
  position: absolute;
  background-color: white;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  cursor: pointer;
}

.list.dropdown-list .item {
  padding-top: 5px;
  padding-bottom: 5px;
}
.list.dropdown-list .item.active,
.list.dropdown-list .item:hover,
.list.dropdown-list .item:active,
.list.dropdown-list .item:focus{
  background-color: #b2e0ff;
}


/**********
   Add specific Icons
**********/


/* Association */
.cion-page-association:before {
  font-family: "Ionicons";
  content: "\f212";
}
.ion-page-association:before {
  font-family: "Ionicons";
  content: "\f212";
}
/* institution */
.cion-page-company:before {
  font-family: "Cesiumicons";
  content: "\e903";
}
.ion-page-company:before {
  font-family: "Cesiumicons";
  content: "\e903";
}

/* institution */
.cion-page-institution:before {
  font-family: "Cesiumicons";
  content: "\e921";
}
.ion-page-institution:before {
  font-family: "Cesiumicons";
  content: "\e921";
}

/* shop */
.cion-page-shop:before {
  font-family: "Ionicons";
  content: "\f110";
}
.ion-page-shop:before {
  font-family: "Ionicons";
  content: "\f110";
}


.buttons-block {
  display: block;
  height: 57px;
}

